package com.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author ChenXiaoBin
 * on 2020-03-06
 */
@ConfigurationProperties(prefix = "spring.redis")
@Data
public class Redis {

    private String host;

    private String port;

    private String password;
}
